From: Laszlo Boszormenyi (GCS) Date: Tue, 2 Dec 2025 18:03:25 +0000 (+0100) Subject: increase go test timeout for slow ppc64el X-Git-Tag: archive/raspbian/0.22.0-3+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=62bebc977c3c2ebeb0e409eb1c7002d716421b68;p=thrift.git increase go test timeout for slow ppc64el Bug-Debian: https://bugs.debian.org/1087611 Forwarded: no Last-Update: 2025-01-22 Multiply TestNoHangDuringStopFromClientNoDataSendDuringAcceptLoop timeout by the magnitude of 100x. Gbp-Pq: Name go_testing_timeout.patch --- diff --git a/lib/go/thrift/simple_server_test.go b/lib/go/thrift/simple_server_test.go index 0fcb01b..3eb9849 100644 --- a/lib/go/thrift/simple_server_test.go +++ b/lib/go/thrift/simple_server_test.go @@ -205,7 +205,7 @@ func TestNoHangDuringStopFromClientNoDataSendDuringAcceptLoop(t *testing.T) { } time.Sleep(networkWaitDuration) - const serverStopTimeout = 50 * time.Millisecond + const serverStopTimeout = 5000 * time.Millisecond backupServerStopTimeout := ServerStopTimeout t.Cleanup(func() { ServerStopTimeout = backupServerStopTimeout